package com.zrgk.bean;

import java.io.Serializable;
import java.util.Date;
/**
 * 部门对象
 * @author hzy
 */
public class DeptBean implements Serializable{
	private static final long serialVersionUID = 1L;
	
	private int id;//部门id
	private String number;//部门编号
	private String shortName;//部门简称
	private String fullName;//部门全称
	private DeptBean topDept;//所属上级部门
	private String content;//部门简介
	private String remark;//部门备注
	private Date createDate;//部门创建时间
	private Date lastDate;//部门最后操作时间
	private EmpBean manager;//部门负责人
	private EmpBean user;//操作者
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getShortName() {
		return shortName;
	}
	public void setShortName(String shortName) {
		this.shortName = shortName;
	}
	public String getFullName() {
		return fullName;
	}
	public void setFullName(String fullName) {
		this.fullName = fullName;
	}
	public DeptBean getTopDept() {
		return topDept;
	}
	public void setTopDept(DeptBean topDept) {
		this.topDept = topDept;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getLastdate() {
		return lastDate;
	}
	public void setLastDate(Date lastDate) {
		this.lastDate = lastDate;
	}
	public EmpBean getManager() {
		return manager;
	}
	public void setManager(EmpBean manager) {
		this.manager = manager;
	}
	public EmpBean getUser() {
		return user;
	}
	public void setUser(EmpBean user) {
		this.user = user;
	}
	public Date getLastDate() {
		return lastDate;
	}
	
	public String toString() {
		return "DeptBean [id=" + id + ", number=" + number + ", shortName="
				+ shortName + ", fullName=" + fullName + ", topDept=" + topDept
				+ ", content=" + content + ", remark=" + remark
				+ ", createDate=" + createDate + ", lastDate=" + lastDate
				+ ", manager=" + manager + ", user=" + user + "]";
	}
	
}
